

import { createStore } from 'redux';
import { counter } from './reducer/1.js';

let store = createStore(counter);

store.subscribe(() =>
  console.log(store.getState())
);